<?php

/**
 * Created by PhpStorm.
 * User: mj
 * Date: 17-6-21
 * Time: 下午5:52
 */
namespace App\Winged\Evaluation ;



use App\Winged\WingedModuleServiceProvider;
use Illuminate\Routing\Router;

class EvaluationServiceProvider extends WingedModuleServiceProvider
{

    protected $serviceName = 'evaluation';

    public function __construct($app)
    {
        parent::__construct($app ,'Evaluation');
    }
    

    protected function onRegister()
    {
        $this->registerViews(__DIR__);
        $this->registerModuleRoutes();
    }

    protected function onBoot()
    {
        $this->registerModuleRoutes();
    }

    protected function registerModuleRoutes()
    {
        require_once __DIR__ . '/config/routes.php';
    }


}
